package cn.itcast.day04.demo06Random的使用;

import java.util.Random;

public class Demo0601
{
    public static void main(String[] args)
    {
        Random r=new Random();

        for(int i=0;i<10;i++)
        {
            System.out.println(r.nextInt(10));
        }
    }
}
